Quit
A Quit command is a request to quit the Finder application. The Finder's Quit command is similar to the one described in the AppleScript Language Guide, except that the Finder ignores the parameters recognized by most other applications. You can't tell other processes to quit from within a Tell statement addressed to the Finder.When you quit the Finder, any icons on the desktop and any Finder windows that are currently visible disappear.
- WARNING
- If you are using version 1.1 of AppleScript, you can launch the Finder again only by quitting all running processes or by restarting the computer.
![]()
SYNTAX
quitPARAMETERS
NoneRESULT
NoneEXAMPLE
This statement quits the Finder:
tell application "Finder" to quitIf you are using version 1.1 of AppleScript, you can relaunch the Finder only by quitting all running applications or by restarting the computer. Other versions allow you to relaunch the Finder with the Launch command (or with any Tell statement addressed to the Finder):
tell application "Finder" to launch